package com.nec.recommend.module.weapp.entity;

import cn.hutool.core.bean.BeanUtil;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nec.recommend.common.BaseEntity;
import com.nec.recommend.module.weapp.dto.WeappScoreDTO;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("tb_weapp_score_record")
public class WeappScore extends BaseEntity {
    private Long userId;
    private String title;
    private Integer score;
    private String remark;

    public WeappScoreDTO toDTO() {
        return BeanUtil.copyProperties(this, WeappScoreDTO.class);
    }
}
